package com.supplychainapi.domain.account;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

@ApiModel(value="用户登录验证数据", description = "用户登录验证")
public class LoginRespEntity {
    @ApiModelProperty(value="登录唯一token")
    private String token;

    @ApiModelProperty(value="当前店铺信息")
    private ShopEntity shop;

    @ApiModelProperty(value="用户信息")
    private UserEntity user;

    @ApiModelProperty(value="用户权限列表")
    private SystemAuthEntity auth;

    @ApiModelProperty(value="店铺列表")
    private List<UserShopEntity> shopList;

    public SystemAuthEntity getAuth() {
        return auth;
    }

    public void setAuth(SystemAuthEntity auth) {
        this.auth = auth;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public ShopEntity getShop() {
        return shop;
    }

    public void setShop(ShopEntity shop) {
        this.shop = shop;
    }

    public UserEntity getUser() {
        return user;
    }

    public void setUser(UserEntity user) {
        this.user = user;
    }

    public List<UserShopEntity> getShopList() {
        return shopList;
    }

    public void setShopList(List<UserShopEntity> shopList) {
        this.shopList = shopList;
    }
}
